Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix][broker][branch-2.10] Replace sync method call in async call chain to prevent ZK event thread deadlock #19539

Merged

Conversation

lhotari
Copy link
Member

@lhotari lhotari commented Feb 16, 2023

Fixes #19536

Motivation

Please check #19536 for details about the problem this PR fixes.

Modifications

This backports changes from #19015 to branch-2.10 for replacing a sync method call in async call chain.
In addition, there's a test and an improvement to the #19015 solution which would attempt to execute the call
also for partitioned topics. I'll submit a separate PR to fix that issue in master / branch-2.11.

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

@lhotari lhotari added this to the 2.10.0 milestone Feb 16, 2023
@lhotari lhotari self-assigned this Feb 16, 2023
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Feb 16, 2023
Copy link
Contributor

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lhotari lhotari merged commit b970f02 into apache:branch-2.10 Feb 16, 2023
lhotari added a commit to datastax/pulsar that referenced this pull request Feb 16, 2023
…in to prevent ZK event thread deadlock (apache#19539)

(cherry picked from commit b970f02)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants